Skip to content

Conversation

s1hofmann
Copy link

@s1hofmann s1hofmann commented Nov 14, 2022

This PR introduces a dedicated CI workflow for tagged releases.

Not only does it automate releases, it also enables publishing a universal binary which natively runs on both Intel and Apple Silicon machines, not need for Rosetta2.

It achieves this by first building two separate binaries for x64 and arm64 that are later combined into a single fat binary that supports both architectures.

Requirements:

In order to publish new releases, this CI workflow requires a repository secret called NPM_TOKEN which stores an npm automation access token.

How to use:

A new release will be published by pushing a new tag:

git tag -a v2.2.2 -m "Release v2.2.2"
git push --tags

Please note that this workflow will only run on tags that follow the form v*.*.*, e.g. v2.2.2

@codebytere codebytere force-pushed the main branch 3 times, most recently from e113096 to 4280ffc Compare March 16, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant